.Outerbox {
      width: 300px;
      height: 400px;
      border: 1px solid pink;
      overflow-y: scroll;
    }
.innerBox {
    width: 300px;
    height: 1000px;
    background-color: rebeccapurple;
  }